package org.jeecg.modules.goods.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: box_goods
 * @Author: jeecg-boot
 * @Date:   2023-05-26
 * @Version: V1.0
 */
@Data
@TableName("box_goods")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="box_goods对象", description="box_goods")
public class BoxGoods implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**归属分类*/
	@Excel(name = "归属分类", width = 15, dictTable = "box_goodcategory", dicText = "flname", dicCode = "id")
	@Dict(dictTable = "box_goodcategory", dicText = "flname", dicCode = "id")
    @ApiModelProperty(value = "归属分类")
    private Integer goodcategoryId;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
	/**商品RMB价格*/
	@Excel(name = "商品RMB价格", width = 15)
    @ApiModelProperty(value = "商品RMB价格")
    private BigDecimal pirce;
	/**商品幸运币价格*/
	@Excel(name = "商品幸运币价格", width = 15)
    @ApiModelProperty(value = "商品幸运币价格")
    private BigDecimal cPirce;
	/**库存*/
	@Excel(name = "库存", width = 15)
    @ApiModelProperty(value = "库存")
    private Integer stock;
	/**商品图片*/
	@Excel(name = "商品图片", width = 15)
    @ApiModelProperty(value = "商品图片")
    private String goodImages;
	/**商品详情*/
	@Excel(name = "商品详情", width = 15)
    @ApiModelProperty(value = "商品详情")
    private String gooddetails;
	/**运费*/
	@Excel(name = "运费", width = 15)
    @ApiModelProperty(value = "运费")
    private BigDecimal freight;
	/**类型:0=实物商品,1=虚拟商品*/
	@Excel(name = "类型:0=实物商品,1=虚拟商品", width = 15)
    @ApiModelProperty(value = "类型:0=实物商品,1=虚拟商品")
    private Integer type;
}
